FUNCTION CreateTextToUnicodeInfo(UnicodeMapping: ConstUnicodeMappingPtr; VAR textToUnicodeInfo: TextToUnicodeInfo): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0401, $ABCE;
{$ENDC}
{ Create a new UnicodeToTextInfo structure. }
FUNCTION CreateUnicodeToTextInfo(UnicodeMapping: ConstUnicodeMappingPtr; VAR unicodeToTextInfo: UnicodeToTextInfo): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $040C, $ABCE;
{$ENDC}
FUNCTION CreateUnicodeToTextRunInfo(numberOfMappings: ItemCount; UnicodeMapping: ConstUnicodeMappingPtr; VAR unicodeToTextInfo: UnicodeToTextRunInfo): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0612, $ABCE;
{$ENDC}
{ Dispose of a TextToUnicodeInfo structure. }
FUNCTION DisposeTextToUnicodeInfo(VAR textToUnicodeInfo: TextToUnicodeInfo): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0202, $ABCE;
{$ENDC}
{ Dispose of a UnicodeToTextInfo structure. }
FUNCTION DisposeUnicodeToTextInfo(VAR unicodeToTextInfo: UnicodeToTextInfo): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $020D, $ABCE;
{$ENDC}
FUNCTION DisposeUnicodeToTextRunInfo(VAR unicodeToTextInfo: UnicodeToTextRunInfo): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0213, $ABCE;
{$ENDC}
{ Convert a string to Unicode. }
FUNCTION ConvertTextToUnicode(textToUnicodeInfo: TextToUnicodeInfo; sourceLen: ByteCount; sourceStr: ConstLogicalAddress; controlFlags: OptionBits; offsetCount: ItemCount; VAR offsetArray: ByteOffset; bufLen: ByteCount; VAR sourceRead: ByteCount; VAR unicodeLen: ByteCount; unicodeStr: UniCharArrayPtr): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $1404, $ABCE;
{$ENDC}
{ Convert a string from Unicode. }
FUNCTION ConvertUnicodeToText(unicodeToTextInfo: UnicodeToTextInfo; unicodeLen: ByteCount; unicodeStr: ConstUniCharArrayPtr; controlFlags: OptionBits; offsetCount: ItemCount; VAR offsetArray: ByteOffset; bufLen: ByteCount; VAR inputRead: ByteCount; VAR outputLen: ByteCount; outputStr: LogicalAddress): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $1403, $ABCE;
{$ENDC}
FUNCTION ConvertUnicodeToTextRun(unicodeToTextInfo: UnicodeToTextRunInfo; unicodeLen: ByteCount; unicodeStr: ConstUniCharArrayPtr; controlFlags: OptionBits; offsetCount: ItemCount; VAR offsetArray: ByteOffset; bufLen: ByteCount; VAR inputRead: ByteCount; VAR outputLen: ByteCount; outputStr: LogicalAddress; encodingRunBufLen: ItemCount; VAR encodingRunOutLen: ItemCount; VAR encodingRuns: TextEncodingRun): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $1A14, $ABCE;
{$ENDC}
{ Truncate a multibyte string at a safe place. }
FUNCTION TruncateForTextToUnicode(textToUnicodeInfo: ConstTextToUnicodeInfo; sourceLen: ByteCount; sourceStr: ConstLogicalAddress; maxLen: ByteCount; VAR truncatedLen: ByteCount): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0A06, $ABCE;
{$ENDC}
{ Truncate a Unicode string at a safe place. }
FUNCTION TruncateForUnicodeToText(unicodeToTextInfo: ConstUnicodeToTextInfo; sourceLen: ByteCount; sourceStr: ConstUniCharArrayPtr; controlFlags: OptionBits; maxLen: ByteCount; VAR truncatedLen: ByteCount): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0C05, $ABCE;
{$ENDC}
{ Convert a Pascal string to Unicode. }
FUNCTION ConvertPStringToUnicode(textToUnicodeInfo: TextToUnicodeInfo; pascalStr: Str255; bufLen: ByteCount; VAR unicodeLen: ByteCount; unicodeStr: UniCharArrayPtr): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0A08, $ABCE;
{$ENDC}
{ Convert a Unicode string to Pascal. }
FUNCTION ConvertUnicodeToPString(unicodeToTextInfo: UnicodeToTextInfo; unicodeLen: ByteCount; unicodeStr: ConstUniCharArrayPtr; VAR pascalStr: Str255): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0807, $ABCE;
{$ENDC}
{ Get a list of the available conversion mappings. }
FUNCTION QueryUnicodeMappings(filter: OptionBits; findMapping: ConstUnicodeMappingPtr; maxCount: ItemCount; VAR actualCount: ItemCount; returnedMappings: UnicodeMappingPtr): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $0A09, $ABCE;
{$ENDC}
{ Get the name of a TextEncodingBase table. }
FUNCTION GetTextEncodingBaseName(UnicodeMapping: ConstUnicodeMappingPtr; languageID: LangCode; bufLen: ByteCount; VAR nameLength: ByteCount; mappingName: UniCharArrayPtr): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $090A, $ABCE;
{$ENDC}
{ Change the TextToUnicodeInfo to another mapping. }
FUNCTION ChangeTextToUnicodeInfo(textToUnicodeInfo: TextToUnicodeInfo; UnicodeMapping: ConstUnicodeMappingPtr): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $040B, $ABCE;
{$ENDC}
{ Change the UnicodeToTextInfo to another mapping. }
FUNCTION ChangeUnicodeToTextInfo(unicodeToTextInfo: UnicodeToTextInfo; UnicodeMapping: ConstUnicodeMappingPtr): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $040E, $ABCE;
{$ENDC}
{$ENDC}
{$IFC FOR_SYSTEM8_PREEMPTIVE }
{ Setup the fallback handler for converting Unicode To Text. }
FUNCTION SetFallbackUnicodeToTextPreemptive(unicodeToTextInfo: UnicodeToTextInfo; fallback: UnicodeToTextFallbackPreemptiveProcPtr; controlFlags: OptionBits; infoPtr: LogicalAddress): OSStatus;
FUNCTION SetFallbackUnicodeToTextRunPreemptive(unicodeToTextRunInfo: UnicodeToTextRunInfo; fallback: UnicodeToTextFallbackPreemptiveProcPtr; controlFlags: OptionBits; infoPtr: LogicalAddress): OSStatus;
{$ENDC}
{$IFC FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE }
{ Setup the fallback handler for converting Unicode To Text. }
FUNCTION SetFallbackUnicodeToText(unicodeToTextInfo: UnicodeToTextInfo; fallback: UnicodeToTextFallbackUPP; controlFlags: OptionBits; infoPtr: LogicalAddress): OSStatus;
{$IFC NOT GENERATINGCFM}
INLINE $303C, $080F, $ABCE;
{$ENDC}
FUNCTION SetFallbackUnicodeToTextRun(unicodeToTextRunInfo: UnicodeToTextRunInfo; fallback: UnicodeToTextFallbackUPP; controlFlags: OptionBits; infoPtr: LogicalAddress): OSStatus;